﻿using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Threading.Tasks;
using Abp.Domain.Entities;
using Abp.Domain.Entities.Caching;

namespace Hicap.AuthorizationServer.Core.Caches.Base.Interface
{
    public interface ICacheBase<TCacheItem> : IEntityCache<TCacheItem>, ICacheExtend
        where TCacheItem : ICacheItemBase
    {
        List<TCacheItem> GetAll(params Expression<Func<IEntity, object>>[] propertySelectors);
    }
}